#!/usr/bin/python2

"""Setup Script for GaWeb."""

import os
try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages    


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name='gaweb',
    version='0.0.1',
    author='Daniel da Silva',
    author_email='ddasilva@gmail.com',
    description='WebGraDS is an online system for visualization and analysis of gridded Earth Science data.',
    license='GPL',
    keywords='science grads web earth data',
    packages=find_packages(),
    package_data={'gaweb.master': ['static/*.html', 
                                   'static/css/*',
                                   'static/images/*',
                                   'static/js/*',
                                   'templates/*']},
    install_requires=['mako', 'psutil', 'pyyaml'],
    include_package_data=True,
    long_description=read('README'),
    test_suite='nose.collector',
    tests_require=['nose', 'mox'],
    entry_points="""
      [console_scripts]
      gaweb_master = gaweb.master.app:main
      gaweb_node = gaweb.node.app:main
    """,
 )


    
